package com.hk.yingmi;

/**
 * Created by Antinomy on 17/8/24.
 */
public class YingmiOpenAPIConstant {

    /*--------------------------------YingmiPaymentController start---------------------------------------------*/

    //银行卡列表
    public static final String YINGMI_API_PAYMENT_BANK_LIST = "/yingmiAPI/payment/bankList";
    public static final String UTILS_GET_PAYMENT_PROVIDERS = "/utils/getPaymentProviders";

    //绑定盈米支付-获取验证码
    public static final String YINGMI_API_PAYMENT_VERIFICATION_CODE = "/yingmiAPI/payment/verificationCode";
    public static final String ACCOUNT_PREPARE_BIND_YINGMI_PAYMENTMETHOD = "/account/prepareBindYingmiPaymentMethod";

    //绑定盈米支付
    public static final String YINGMI_API_PAYMENT_BIND_PAYMENT_METHOD = "/yingmiAPI/payment/bindPaymentMethod";
    public static final String ACCOUNT_CONFIRM_BIND_YINGMI_METHOD = "/account/confirmBindYingmiPaymentMethod";

    //查询账户已绑定的支付方式接口（银行）
    public static final String YINGMI_API_PAYMENT_GET_PAYMENT_METHODS = "/yingmiAPI/payment/getPaymentMethods";
    public static final String ACCOUNT_GET_PAYMENT_METHODS = "/account/getPaymentMethods";

    //查询账户已绑定的所有支付方式接口（盈米宝+银行）
    public static final String YINGMI_API_GET_PAYMENT_METHODS_AND_WALLETSHARES = "/yingmiAPI/payment/getPaymentMethodsAndWalletShares";
    public static final String TRADE_GETPAYMENTMETHODS_AND_WALLETSHARES= "/trade/getPaymentMethodsAndWalletShares";

    //解绑盈米支付
    public static final String YINGMI_API_UNBIND_PAYMENT_METHOD = "/yingmiAPI/payment/unbindPaymentMethod";
    public static final String ACCOUNT_CONFIRM_UNBIND_YINGMI_METHOD = "/account/unbindPaymentMethod";

    //查询基金份额接口
    public static final String YINGMI_API_PAYMENT_GET_FUND_SHARES = "/yingmiAPI/payment/getFundShares";
    public static final String TRADE_GET_FUND_SHARES = "/trade/getFundShares";

    //获取可转换的基金列表接口
    public static final String TRADE_GETCONVERTIBLEFUNDS = "/trade/getConvertibleFunds";
    //转换基金接口
    public static final String TRADE_CONVERTFUND = "/trade/convertFund";

    //获取基金信息接口
    public static final String PRODUCT_GETFUNDINFO = "/product/getFundInfo";

    /*---------------------------------YingmiPaymentController end-------------------------------------------*/

    //账号信息
    public static final String YINGMI_API_ACCOUNT_INFO = "/yingmiAPI/account/info";
    public static final String ACCOUNT_GET_ACCOUNT_BY_IDENTITY = "/account/getAccountByIdentity";

    public static final String YINGMI_API_ACCOUNT_STATUS = "/yingmiAPI/account/status";


    // 盈亏查询接口
    public static final String YINGMI_API_ACCOUNT_GET_PROFITS = "/yingmiAPI/account/getProfits";
    public static final String YINGMI_API_ACCOUNT_GET_PROFITS_ONE_FUNDCODE = "/yingmiAPI/account/getProfits/oneFund";
    public static final String TRADE_GET_PROFITS = "/trade/getProfits";
    public static final String YINGMI_API_ACCOUNT_GET_SUM_PROFITS = "/yingmiAPI/account/getSumProfits";


    // 风险测评
    public static final String YINGMI_API_ACCOUNT_GET_SURVEY = "/yingmiAPI/account/getSurvey";
    public static final String ACCOUNT_GET_SURVEY = "/account/getSurvey";
    public static final String YINGMI_API_ACCOUNT_ANSWER_SURVEY = "/yingmiAPI/account/answerSurvey";
    public static final String ACCOUNT_ANSWER_SURVEY = "/account/answerSurvey";
    public static final String YINGMI_API_ACCOUNT_SET_RISK_GRADE = "/yingmiAPI/account/setRiskGrade";
    public static final String ACCOUNT_SET_RISK_GRADE = "/account/setRiskGrade";

    public static final String ACCOUNT_ANSWER_SURVEY_LV5 = "/account/answerRiskSurvey";


    //盈米宝
    public static final String TRADE_RECHAEGE_WALLET = "/trade/rechargeWallet";
    public static final String TRADE_REDEEMWALLET = "/trade/redeemWallet";
    public static final String YINGMI_API_ACCOUNT_GET_WALLET_FUNDS = "/getWalletFunds";
    public static final String TRADE_GET_WALLET_FUNDS = "/trade/getWalletFunds";

    //获取盈米宝余额
    public static final String TRADE_GET_WALLET_SHARES = "/trade/getWalletShares";
    //查询账户所有支付方式和盈米宝余额接口
    public static final String TRADE_GETPAYMENTMETHODSANDWALLETSHARES = "/trade/getPaymentMethodsAndWalletShares";

    //获取下一个交易日
    public static final String UTILS_GET_TRADEDATE = "/utils/getTradeDate";


    //获取盈米宝订单接口
    public static final String TRADE_GETWALLETORDERS = "/trade/getWalletOrders";



    public static final String TRADE_BUYFUND = "/trade/buyFund";
    public static final String TRADE_REDEEMFUND =  "/trade/redeemFund";


    //枚举类型
    public static final String SHARE_TYPE = "/yingmiAPI/option/shareType";
    public static final String TRANSACTION_TYPE = "/yingmiAPI/option/transactionType";

    //订单相关
    public static final String BROKER_ORDER_NO = "/yingmiAPI/order/brokerOrderNo";



    //认申购费率、折扣和预估手续费
    public static final String BUY_FUND_FEE = "/trade/estimateBuyFundFee";

    //获取已赎回订单
    public static final String FUND_ORDERS = "/trade/getFundOrders";

    //获取在途订单
    public static final String FUND_PROCESSING_ORDERS = "/trade/getProcessingFundOrders";

    //获取还在生效的订单
    public static final String FUND_SHARES = "/trade/getFundShares";

    //获取单一订单的详情
    public static final String FUND_ORDER = "/trade/getFundOrder";

    //撤销盈米订单
    public static final String CANCEL_ORDER = "/trade/cancelFundOrder";

    public static final String YINGMI_API_FUND_SET_FUND_DIVIDEND_METHOD = "/setFundDividendMethod";
    public static final String SET_FUND_DIVIDEND_METHOD = "/trade/setFundDividendMethod";



    public static final String YINGMI_API_PRODUCT_BATCH_UPDATE = "/yingmiAPI/product/batchUpdate";
    public static final String YINGMI_API_BROKER_PRODUCT_SYNC = "/yingmiAPI/brokerProduct/sync";

    public static final String PRODUCT_GET_FUND_INFO = "/product/getFundInfo";
    public static final String PRODUCT_GET_QSZG_INFO = "/product/getQszgInfo";
    public static final String ACCOUNT_ADEQUACY = "/account/adequacy";//投资者信息录入

    public static final String YINGMI_API_BROKER_PRODUCT_LIST = "/yingmiAPI/brokerProduct/list";
    public static final String YINGMI_API_BROKER_PRODUCT_IS_BROKDER_PRODUCT = "/yingmiAPI/brokerProduct/isBrokerProduct";
}
